<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户列表</title>
<link href="../../resources/css/jquery.datepicker.css" rel="stylesheet">
<script type="text/javascript" src="../../resources/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="../../resources/js/jquery.form.js"></script>
<script type="text/javascript" src="../../resources/js/jquery.datepicker.js"></script>
<script type="text/javascript" src="../../resources/js/common.js"></script>
<script type="text/javascript" src="../../resources/js/bm/user.js"></script>
</head>
<body>
<div id="main">
<form id="paramForm">
	<table class="paramtab" align="center" cellpadding="5" cellspacing="0">
	<tr><td colspan="8" class="navbar">用户列表</td></tr>
		<tr>
			<td align="right">用户名：</td><td><input type="text" name="uname" /></td>
			<td align="right">昵称：</td><td><input type="text" name="nickname" /></td>
			<td align="right">注册时间：</td>
			<td ><input type="text" op="datepicker" name="createtime1" /></td>
			<td align="center">--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			<td><input type="text" op="datepicker" name="createtime2" /></td>
		</tr>
		<tr>
		<td align="right">性别：</td><td>
				<select name="sex" >
					<option value="">--请选择--</option>
					<option value="0">保密</option>
					<option value="1">男</option>
					<option value="2">女</option>
				</select>
			</td>
			<td align="right">激活：</td><td>
				<select name="active">
					<option value="">--请选择--</option>
					<option value="0">未激活</option>
					<option value="1">已激活</option>
				</select>
			</td>
				<td align="right">注册渠道：</td><td>
					<select name="channel">
					<option value="">--请选择--</option>
					<option value="0">站点</option>
					<option value="1">第三方</option>
				</select>
				</td>
				<td align="right">个人说明：</td><td><input type="text" name="description" /></td>
		</tr>
		<tr>
			    <td colspan="4" align="right"><input type="button"  class="button blue" value=" 查 询 " onclick="search('datatbody','datathead')" />&nbsp;&nbsp;&nbsp;</td>
				<td colspan="4">&nbsp;&nbsp;&nbsp;<input type="reset" class="button blue"  value=" 重 置 " onclick="reset()" /></td>
		</tr>
	</table>
</form>
	<table class="datatab" id="datatab" align="center"  cellpadding="5" cellspacing="0">
	<thead id="datathead">
		<tr>
			<th class="navbar" name="avatar" bz="pic">头像</th>
			<th class="navbar" name="uname" bz="title">用户名</th>
			<th class="navbar" name="nickname">昵称</th>
			<th class="navbar" name="sexText">性别</th>
			<th class="navbar" name="activeText">是否激活</th>
			<th class="navbar" name="channelText">注册渠道</th>
			<th class="navbar" name="createtime">创建时间</th>
			<th class="navbar" name="lastmodifytime">最后操作时间</th>
			<th class="navbar" name="oprate">操作</th>
		</tr>
		</thead>
		<tbody id="datatbody" ></tbody>
		<tfoot>
		<tr>
			<td colspan="10">
				<div class="pagebar" bar="pagebar"></div>
			</td>
		</tr>
		</tfoot>
	</table>
</div>
<!-- ---------------------------------------详情------------------------------------------ -->
<table id="detail" width="400px;"  cellpadding="5" cellspacing="0" >
		<tr>
		<td class="navbar" colspan="2" style="height:25px;"><div id="mtitle">用户信息详情</div></td>
		</tr>
		<tr>
			<td align="right">头像：</td>
			<td><img id="avatar"  width="50px" height="50px" />
			</td>
		</tr>
		<tr>
			<td align="right">用户名：</td>
			<td><text id="uname"></text></td>
		</tr>
		<tr>
			<td align="right">昵称：</td>
			<td><text id="nickname"></text></td>
		</tr>
		<tr>
			<td align="right">性别：</td>
			<td><text id="sexText"></text></td>
		</tr>
		<tr>
			<td align="right">安全问题：</td>
			<td><text id="question"></text></td>
		</tr>
		<tr>
			<td align="right">回答问题：</td>
			<td><text id="answer"></text></td>
		</tr>
		<tr>
			<td align="right">个人说明：</td>
			<td><text id="description"></text></td>
		</tr>
		<tr>
			<td align="right">激活状态：</td>
			<td><text id="activeText"></text></td>
		</tr>
		<tr>
			<td align="right">注册渠道：</td>
			<td><text id="channelText"></text></td>
		</tr>
		<tr>
			<td align="right">创建时间：</td>
			<td><text id="createtime"></text></td>
		</tr>
		<tr>
			<td align="right">最后修改时间：</td>
			<td><text id="lastmodifytime"></text></td>
		</tr>
		<tr>
			<td colspan="2" align="center" class="navbar" style="border-top: 1px solid #DDDDDD;" >
				<input type="button" class = "button blue"  value=" 关 闭 " id="back"/>
			</td>
		</tr>
	</table>
<!-- ----------------------------------修改------------------------------------- -->	
	<table id="update" width="400px;"  cellpadding="5" cellspacing="0" >
		<tr>
		<td class="navbar" colspan="2" style="height:25px;"><div id="mtitle">用户信息修改</div></td>
		</tr>
		<tr>
			<td align="right">头像：</td>
			<td><img id="avatar"  width="50px" height="50px" /><br/>
				<form id="fileupload" method="post">
					<input type="file" name="file"  />
				</form>
			</td>
		</tr>
		<tr>
			<td align="right">用户名：</td>
			<td><input type="text" id="uname" disabled="disabled"  /></td>
		</tr>
		<tr>
			<td align="right">昵称：</td>
			<td><input type="text" id="nickname" /></td>
		</tr>
		<tr>
			<td align="right">性别：</td>
			<td>
				<input type="radio" value="0" name="sex" />保密
				<input type="radio" value="1" name="sex" />男
				<input type="radio" value="2" name="sex" />女
				<input type="hidden" name="sex" />
			</td>
		</tr>
		<tr>
			<td align="right">安全问题：</td>
			<td><input type="text" id="question" /></td>
		</tr>
		<tr>
			<td align="right">回答问题：</td>
			<td><input type="text"  id="answer"></td>
		</tr>
		<tr>
			<td align="right">个人说明：</td>
			<td><textarea id="description"></textarea></td>
		</tr>
		<tr>
			<td align="right">激活状态：</td>
			<td>
				<select name="active" id="active">
					<option value="">--请选择--</option>
					<option value="0">未激活</option>
					<option value="1">已激活</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align="right">注册渠道：</td>
			<td>
				<select name="channel" id="channel">
					<option value="">--请选择--</option>
					<option value="0">站点</option>
					<option value="1">第三方</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align="right">创建时间：</td>
			<td><input type="text"  disabled="disabled" id="createtime" /></td>
		</tr>
		<tr>
			<td align="right">最后修改时间：</td>
			<td><input type="text"  disabled="disabled" id="lastmodifytime" /></text></td>
		</tr>
		<tr>
			<td colspan="2" align="center" class="navbar" style="border-top: 1px solid #DDDDDD;" >
				<input type="button" class = "button blue"  value=" 保 存 " id="save"/>&nbsp;&nbsp;&nbsp;
				<input type="button" class = "button blue"  value=" 返 回 " id="back" />
			</td>
		</tr>
	</table>
	
</body>
</html>